package com.longdaji.decoration.data.bean;

import java.util.List;

/**
 * Created by longtao on 2018/3/18.
 */

public class GoodsAccountBean {
    private CartBalance cartBalance;

    public CartBalance getCartBalance() {
        return cartBalance;
    }

    public void setCartBalance(CartBalance cartBalance) {
        this.cartBalance = cartBalance;
    }

    @Override
    public String toString() {
        return "GoodsAccountBean{" +
                "cartBalance=" + cartBalance +
                '}';
    }

    public static class CartBalance {
        private List<Address> addressList;
        private List<CartGoods> cartBalanceGoodsList;
        private double total;

        public List<Address> getAddressList() {
            return addressList;
        }

        public void setAddressList(List<Address> addressList) {
            this.addressList = addressList;
        }

        public List<CartGoods> getCartBalanceGoodsList() {
            return cartBalanceGoodsList;
        }

        public void setCartBalanceGoodsList(List<CartGoods> cartBalanceGoodsList) {
            this.cartBalanceGoodsList = cartBalanceGoodsList;
        }

        public double getTotal() {
            return total;
        }

        public void setTotal(double total) {
            this.total = total;
        }

        public static class Address{
            private String userid;
            private String contactPerson;
            private String contactTelephone;
            private String detailAddress;
            private String defaultAddress;
            private long shippingId;
            private String zipcode;
            private String delFlag;

            public String getUserid() {
                return userid;
            }

            public void setUserid(String userid) {
                this.userid = userid;
            }

            public String getContactPerson() {
                return contactPerson;
            }

            public void setContactPerson(String contactPerson) {
                this.contactPerson = contactPerson;
            }

            public String getContactTelephone() {
                return contactTelephone;
            }

            public void setContactTelephone(String contactTelephone) {
                this.contactTelephone = contactTelephone;
            }

            public String getDetailAddress() {
                return detailAddress;
            }

            public void setDetailAddress(String detailAddress) {
                this.detailAddress = detailAddress;
            }

            public String getDefaultAddress() {
                return defaultAddress;
            }

            public void setDefaultAddress(String defaultAddress) {
                this.defaultAddress = defaultAddress;
            }

            public long getShippingId() {
                return shippingId;
            }

            public void setShippingId(long shippingId) {
                this.shippingId = shippingId;
            }

            public String getZipcode() {
                return zipcode;
            }

            public void setZipcode(String zipcode) {
                this.zipcode = zipcode;
            }

            public String getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(String delFlag) {
                this.delFlag = delFlag;
            }
        }
        public static class CartGoods{
            private long cartGoodsRecordId;
            private long goodsId;
            private long skuId;
            private String goodsName;
            private long userId;
            private long goodsSkuNum;
            private double goodsSkuPrice;
            private String goodsSkuImg;
            private double price;
            private long valid;
            private String explain;

            public long getCartGoodsRecordId() {
                return cartGoodsRecordId;
            }

            public void setCartGoodsRecordId(long cartGoodsRecordId) {
                this.cartGoodsRecordId = cartGoodsRecordId;
            }

            public long getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(long goodsId) {
                this.goodsId = goodsId;
            }

            public long getSkuId() {
                return skuId;
            }

            public void setSkuId(long skuId) {
                this.skuId = skuId;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public long getUserId() {
                return userId;
            }

            public void setUserId(long userId) {
                this.userId = userId;
            }

            public long getGoodsSkuNum() {
                return goodsSkuNum;
            }

            public void setGoodsSkuNum(long goodsSkuNum) {
                this.goodsSkuNum = goodsSkuNum;
            }

            public void setGoodsSkuPrice(double goodsSkuPrice) {
                this.goodsSkuPrice = goodsSkuPrice;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public String getGoodsSkuImg() {
                return goodsSkuImg;
            }

            public void setGoodsSkuImg(String goodsSkuImg) {
                this.goodsSkuImg = goodsSkuImg;
            }


            public long getValid() {
                return valid;
            }

            public void setValid(long valid) {
                this.valid = valid;
            }

            public String getExplain() {
                return explain;
            }

            public void setExplain(String explain) {
                this.explain = explain;
            }
        }

    }
}
